import { request } from 'umi';

export async function generateQRCode(boardId: number) {
  return request<ApiResponse.FilterResponse<string>>('/api/helper/GenerateCode?boardId=' + boardId, {
    method: 'GET',
  });
}
